package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 监督类型管理
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
@TableName("IG_SUPERVISION_TYPE_MANAGE")
public class IgSupervisionTypeManage extends Model<IgSupervisionTypeManage> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId("SUPERVISION_TYPE_ID")
    private String supervisionTypeId;

    /**
     * 编号
     */
    @TableField("SUPERVISION_TYPE_CODE")
    private String supervisionTypeCode;

    /**
     * 名称
     */
    @TableField("SUPERVISION_TYPE_NAME")
    private String supervisionTypeName;

    /**
     * 上级id
     */
    @TableField("PARENT_ID")
    private String parentId;

    /**
     * 创建人
     */
    @TableField("CREATE_OP")
    private String createOp;

    /**
     * 创建时间
     */
    @TableField("CREATE_DATE")
    private LocalDateTime createDate;

    /**
     * 修改人
     */
    @TableField("EDIT_OP")
    private String editOp;

    /**
     * 修改时间
     */
    @TableField("EDIT_DATE")
    private LocalDateTime editDate;

    /**
     * 删除标记
     */
    @TableField("DELETE_FLAG")
    private Integer deleteFlag;

    /**
     * 删除人
     */
    @TableField("DELETE_OP")
    private String deleteOp;

    /**
     * 删除时间
     */
    @TableField("DELETE_DATE")
    private LocalDateTime deleteDate;

    @TableField("TYPE_FLAG")
    private Integer typeFlag;


    public String getSupervisionTypeId() {
        return supervisionTypeId;
    }

    public IgSupervisionTypeManage setSupervisionTypeId(String supervisionTypeId) {
        this.supervisionTypeId = supervisionTypeId;
        return this;
    }

    public String getSupervisionTypeCode() {
        return supervisionTypeCode;
    }

    public IgSupervisionTypeManage setSupervisionTypeCode(String supervisionTypeCode) {
        this.supervisionTypeCode = supervisionTypeCode;
        return this;
    }

    public String getSupervisionTypeName() {
        return supervisionTypeName;
    }

    public IgSupervisionTypeManage setSupervisionTypeName(String supervisionTypeName) {
        this.supervisionTypeName = supervisionTypeName;
        return this;
    }

    public String getParentId() {
        return parentId;
    }

    public IgSupervisionTypeManage setParentId(String parentId) {
        this.parentId = parentId;
        return this;
    }

    public String getCreateOp() {
        return createOp;
    }

    public IgSupervisionTypeManage setCreateOp(String createOp) {
        this.createOp = createOp;
        return this;
    }

    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public IgSupervisionTypeManage setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
        return this;
    }

    public String getEditOp() {
        return editOp;
    }

    public IgSupervisionTypeManage setEditOp(String editOp) {
        this.editOp = editOp;
        return this;
    }

    public LocalDateTime getEditDate() {
        return editDate;
    }

    public IgSupervisionTypeManage setEditDate(LocalDateTime editDate) {
        this.editDate = editDate;
        return this;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public IgSupervisionTypeManage setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
        return this;
    }

    public String getDeleteOp() {
        return deleteOp;
    }

    public IgSupervisionTypeManage setDeleteOp(String deleteOp) {
        this.deleteOp = deleteOp;
        return this;
    }

    public LocalDateTime getDeleteDate() {
        return deleteDate;
    }

    public IgSupervisionTypeManage setDeleteDate(LocalDateTime deleteDate) {
        this.deleteDate = deleteDate;
        return this;
    }

    public Integer getTypeFlag() {
        return typeFlag;
    }

    public IgSupervisionTypeManage setTypeFlag(Integer typeFlag) {
        this.typeFlag = typeFlag;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.supervisionTypeId;
    }

    @Override
    public String toString() {
        return "IgSupervisionTypeManage{" +
        "supervisionTypeId=" + supervisionTypeId +
        ", supervisionTypeCode=" + supervisionTypeCode +
        ", supervisionTypeName=" + supervisionTypeName +
        ", parentId=" + parentId +
        ", createOp=" + createOp +
        ", createDate=" + createDate +
        ", editOp=" + editOp +
        ", editDate=" + editDate +
        ", deleteFlag=" + deleteFlag +
        ", deleteOp=" + deleteOp +
        ", deleteDate=" + deleteDate +
        ", typeFlag=" + typeFlag +
        "}";
    }
}
